package AC;

import java.util.Scanner;

public class Disan {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("输入两个数：");
        int a=in.nextInt();
        int b=in.nextInt();
        System.out.println(a&b);
        System.out.println(a|b);
        System.out.println(a^b);
    }
}
